package com.stu.dcxy.design.creatation.simplefactory;

/**
 * @Classname MiniCar
 * @Version 1.0.0
 * @Date 2022/3/30 18:18
 * @Created by yd
 */
public class MiniCar extends AbstractCar {
    public MiniCar() {
        this.engine = "水平发动机";
    }

    @Override
    public void run() {
        System.out.println(engine + " run ");

    }
}
